package com.fbee.smartcommunities.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fbee.smartcommunities.core.Base;
import java.io.Serializable;
import lombok.*;

/**
 * <p>
 * 角色和权限关系表
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("role_permission")
public class RolePermission extends Base {

    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 权限id
     */
    private Long permissionId;

    /**
     * 权限类型
     */
    private Boolean type;

}
